package four.book.dao;

import java.util.List;

import four.book.entity.Comment2;

public interface Comment2Mapper {
    int deleteByPrimaryKey(Integer comId);//删除评论

    int insert(Comment2 record);//新增评论

    int insertSelective(Comment2 record);//新增评论

    Comment2 selectByPrimaryKey(Integer comId);//查询评论
    List<Comment2> selectcomment(Long bookid);//书籍评论查询
    int updateByPrimaryKeySelective(Comment2 record);//修改评论

    int updateByPrimaryKey(Comment2 record);//修改评论
}